package com.qxf.model;

import net.sf.json.JSONObject;

public class ReturnEvent {

	private String returnCode; // success or failure.
	
	private Object result; // result object.
	
	private String errorMessage; // error message.
	
	public String toJSONString() {
		return JSONObject.fromObject(this).toString();
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
}
